<?php defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH.'route/core/Route.php';

Route::get('/user/{id}/name/{name}', function ($id, $name){
   return '123d'.$id.$name;
});

Route::get('/user/{id}/{name}', function ($id, $name){
   return $id.$name; 
});

Route::get('/user', function(){
    return 1;
});

Route::get('admin/{id}', 'welcome@index');